<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="Cache-Control"
	content="no-cache, no-store, must-revalidate">
<meta http-equiv="expires" content="0">
<title>我的银行卡</title>
<meta name="viewport" content="initial-scale=1, maximum-scale=1">
<link rel="stylesheet"
	href="//g.alicdn.com/msui/sm/0.6.2/css/sm.min.css">
<link rel="stylesheet" href="assets/css/rz.css">
</head>
<body>
	<div class="page-group">
		<div class="page page-current" id="index">
			<header class="bar bar-nav"> <a href="customer/me"
				class="button button-link button-nav pull-left back" external> <span
				class="icon icon-left"></span> 返回
			</a>
			<h1 class='title'>我的银行卡</h1>
			<!-- <a href="customer/bankCardDetail"
				class="button button-link button-nav pull-right"> 添加 <span
				class="icon icon-right"></span>
			</a>  --></header>
			<!-- 页面正文 -->
			<div class="content">

				<div class="list-block">
					<ul>
						<c:forEach items="${bankcard_list}" var="bankcard">
							<li>
								<div class="item-content">
									<div class="item-media">
										<i class="icon icon-form-email"></i>
									</div>
									<div class="item-inner">
										<div class="item-title">${bankcard.bankName}</div>
										<div class="item-after">${bankcard.cardCode}</div>
									</div>
								</div>
							</li>
						</c:forEach>
					</ul>
				</div>

				<c:if test="${bankcard_list==null}">
					<div class="list-block contacts-block">
						<div class="list-group">
							<ul>
								<li><a href="customer/toAddBankCard"
									class="item-link list-button policyChange">您没有添加银行卡，点击即可添加</a></li>
							</ul>
						</div>
					</div>
				</c:if>

				<c:if test="${bankcard_list!=null}">
					<div class="list-block contacts-block">
						<div class="list-group">
							<ul>
								<li><a href="customer/toAddBankCard"
									class="item-link list-button policyChange">添加新的银行卡</a></li>
							</ul>
						</div>
					</div>
				</c:if>
				<!-- <li>
								<a href="customer/bankCardDetail" class="item-link item-content">
									<div class="item-inner">
										<div class="item-title">中国建设银行</div>
										<div class="item-after">62302163687245014</div>
									</div>
								</a>
							</li>
							<li>
								<a href="customer/bankCardDetail" class="item-link item-content">
									<div class="item-inner">
										<div class="item-title">中国光大银行</div>
										<div class="item-after">6295012341029963</div>
									</div>
								</a>
							</li> -->



				<!-- <div class="content-block">
					<div class="row">
						<div class="col-100">
							<a id="submit" href="customer/me"
								class="button button-big button-fill button-success">保&nbsp;&nbsp;&nbsp;&nbsp;存</a>
						</div>
					</div>
				</div> -->

				<!-- 页脚 -->
				<%@ include file="/include/footer.jsp"%>
			</div>
		</div>
	</div>
	<script type='text/javascript'
		src='//g.alicdn.com/sj/lib/zepto/zepto.min.js' charset='utf-8'></script>
	<script type='text/javascript'
		src='//g.alicdn.com/msui/sm/0.6.2/js/sm.min.js' charset='utf-8'></script>
	<script>
		
	</script>
</body>
</html>
